package cc.ls51;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author liulf
 */
@SpringBootApplication
@MapperScan("cc.ls51.modules.**.mapper")
public class CcLs51CmsApplication {
	public static void main(String[] args) {
		ConfigurableApplicationContext context = SpringApplication.run(CcLs51CmsApplication.class, args);
		String port =  context.getEnvironment().getProperty("server.port");
		LoggerFactory.getLogger(CcLs51CmsApplication.class).info("后台登陆入口：http://localhost:" + port);
	}
}
